package com.hlkj.pay.app.pay;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.pojo.CommonResult;
import com.hlkj.pay.vo.merchant.req.UpdateStatusReq;
import com.hlkj.pay.vo.pay.req.PayChannelReq;
/**
 * @author HlpayTeam
 * @date 2024/09/23 11:35
 */
public interface IPayChannelAppService {
	/**
	 * savez
	 * @param payWayReq
	 * @return
	 */
	CommonResult<Void> savePayChannel(PayChannelReq payWayReq);
	/**
	 * update
	 * @param payWayReq
	 * @return
	 */
	CommonResult<Void> updatePayChannel(PayChannelReq payWayReq);
	/**
	 * del
	 * @param id
	 * @return
	 */
	CommonResult<Void> delPayChannel(String code);
	/**
	 * update status
	 * @param updateStatusReq
	 * @return
	 */
	CommonResult<Void> updatePayChannelStatus(UpdateStatusReq updateStatusReq);
}
